execute as @a[nbt={Inventory:[{Slot:103b,tag:{id:"advm:night_vision_goggle"}}]}] if score @s advm_power matches 1.. run scoreboard players set @s advm_useSlot 103
execute as @a[nbt={Inventory:[{Slot:103b,tag:{id:"advm:night_vision_goggle"}}]}] if score @s advm_power matches 1.. run function advm:skills/battery_lose_id

schedule function advm:skills/night_vision_goggle_reduce 1s replace